]> dgit.raspbian.org Git - gnome-shell.git/commit
util: rename from utils, avoid RegExp literal
authorDan Winship <danw@gnome.org>
Tue, 30 Nov 2010 16:16:10 +0000 (11:16 -0500)
committerDan Winship <danw@gnome.org>
Thu, 13 Jan 2011 17:14:40 +0000 (12:14 -0500)
commita65a0f03d49e794fb413abdf6b97d84a269bd0f1
tree0df6b8b814dd115e5a24dc638103dbedfe9f4a09
parent7322a4e4ef9077ceb9ffd4be9f626e550d241b98
util: rename from utils, avoid RegExp literal

Rename imports.misc.utils to imports.misc.util for more consistency
(eg, with shell-util).

Also, use the string-based RegExp() constructor rather than a RegExp
literal, since the literal is extremely difficult to parse correctly,
and confuses emacs and probably other editors and thus messes up
autoindentation, etc.

https://bugzilla.gnome.org/show_bug.cgi?id=635089
js/Makefile.am
js/misc/util.js [new file with mode: 0644]
js/misc/utils.js [deleted file]
js/ui/messageTray.js